From 81cbeaff46098a6ef1af691c06bf2531bc4dcf2f Mon Sep 17 00:00:00 2001 From: Shinjiman Date: Sat, 27 Jun 2009 09:01:47 +0000 Subject: [PATCH] fix for r52476, include the cases with quotation marks. --- includes/specials/SpecialVersion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 4a12d57dbe..1563d65f51 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -113,7 +113,7 @@ class SpecialVersion extends SpecialPage { // Look for ImageMagick's version, if did not found, try to find the GD library version if ( $wgUseImageMagick === true ) { - if ( file_exists( $wgImageMagickConvertCommand ) ) { + if ( file_exists( trim( $wgImageMagickConvertCommand, '"' ) ) ) { $swImageMagickInfo = self::execOutput( $wgImageMagickConvertCommand . ' -version' ); list( $head, $tail ) = explode( 'ImageMagick', $swImageMagickInfo ); list( $swImageMagickVer ) = explode('http://www.imagemagick.org', $tail ); -- 2.20.1